<!-- tightly coupled HTML/JavaScript using <script> -->
<script>
  document.write("Hello world!");
</script>
           
<!-- tightly coupled HTML/JavaScript using event handler attribute -->
<input type="button" value="Click Me" onclick="doSomething()" />
